<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

第${page.pageNo}页, 共${page.totalPages}页
<a href="javascript:jumpPage(1)">首页</a>
<s:if test="page.hasPre">
	<a href="javascript:jumpPage(${page.prePage})">上一页</a>
</s:if>
<s:if test="page.pageNo-4>0">
	<a href="javascript:jumpPage(${page.pageNo-4})">${page.pageNo-4}</a>
</s:if>
<s:if test="page.pageNo-3>0">
	<a href="javascript:jumpPage(${page.pageNo-3})">${page.pageNo-3}</a>
</s:if>
<s:if test="page.pageNo-2>0">
	<a href="javascript:jumpPage(${page.pageNo-2})">${page.pageNo-2}</a>
</s:if>
<s:if test="page.pageNo-1>0">
	<a href="javascript:jumpPage(${page.pageNo-1})">${page.pageNo-1}</a>
</s:if>
${page.pageNo}
<s:if test="page.pageNo+1<=page.totalPages">
	<a href="javascript:jumpPage(${page.pageNo+1})">${page.pageNo+1}</a>
</s:if>
<s:if test="page.pageNo+2<=page.totalPages">
	<a href="javascript:jumpPage(${page.pageNo+2})">${page.pageNo+2}</a>
</s:if>
<s:if test="page.pageNo+3<=page.totalPages">
	<a href="javascript:jumpPage(${page.pageNo+3})">${page.pageNo+3}</a>
</s:if>
<s:if test="page.pageNo+4<=page.totalPages">
	<a href="javascript:jumpPage(${page.pageNo+4})">${page.pageNo+4}</a>
</s:if>
<s:if test="page.hasNext">
	<a href="javascript:jumpPage(${page.nextPage})">下一页</a>
</s:if>
<a href="javascript:jumpPage(${page.totalPages})">末页</a>
